STEP 2: Now let's have Tim the Wizard ask the user to enter their question.

  • Go to and drag out Ask.
  • Assign the .ask() to the wizard by changing the variable name in front of .ask() from sprite to tim.
  • Change the name of the user input variable from choice to question.
  • Change the string in .ask() to "What is your question?"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)